{extend name="public:layout" /}
{block name="content"}
<div class="page">
	<div class="fixed-bar">
	<div class="item-title">
	  <div class="subject">
	    <h3>权限设置</h3>
	    <h5>管理中心操作权限及分组设置</h5>
	  </div>
	</div>
	</div>
	<!-- 操作说明 -->
	<div class="explanation" id="explanation">
		<div class="title" id="checkZoom"><i class="icon iconfont icon-dengpao"></i>
		  <h4 alt="提示相关设置操作时应注意的要点" class="itip">操作提示</h4>
		  <span id="explanationZoom" alt="收起提示" class="itip"></span>
		</div>
		<ul>
		<li>暂无</li>
		</ul>
	</div>
	<!-- 表格 -->
	<div class="table_list">
		<div class="mDiv"><div class="ftitle"><h3>权限组列表</h3><h5></h5></div></div>
		<div class="hDiv">
		    <table width="100%">
		    <thead>
		      <tr>
		        <td width="100" align="center">操作</td>
		        <td width="150" align="center">权限组</td>
		        <td width="300" align="center">描述</td>
		        <td width="100" align="center">状态</td>
		        <td width="300" align="center">授权</td>
		      </tr>
		    </thead>
		    </table>
		</div>

		<div class="tDiv">
		  <div class="tDiv2">
		    <div class="fbutton">
		        <div class="add"><span><i class="icon iconfont icon-quanxian"></i><a href="{:url('AuthManager/createGroup')}">添加权限组</a></span></div>
		    </div>
		  </div>
		  <div style="clear:both"></div>
		</div>

		<div class="bDiv">
			<table width="100%">
			<tbody>
			{volist name="_list" id="vo"}
			<tr>
			  <td width="100" align="center">
			    <span class="btn"><em><i class="icon iconfont icon-shezhi"></i>设置<i class="arrow"></i></em>
			    <ul>
			    <li><a href="{:url('AuthManager/editgroup?id='.$vo['id'])}">编辑</a></li>
			    <li><a href="{:url('AuthManager/deletegroup?id='.$vo['id'])}">删除</a></li>
			    </ul>
			    </span>
			  </td>
			  <td width="150" align="center">{$vo.title}</td>
			  <td width="300" align="center">{:mb_strimwidth($vo['description'],0,60,"...","utf-8")}</td>
			  <td width="100" align="center">{eq name="vo.status" value="1"}<span class="on"><i class="icon iconfont icon-zhengque1"></i>{$vo['status_text']}</span>
			       {else/}<span class="off"><i class="icon iconfont icon-iconfontcuowu2"></i>{$vo['status_text']}</span>
			       {/eq}
			  </td>
			  <td width="300" align="center">
			  <a class="btn blue" href="{:url('AuthManager/access?group_name='.$vo['title'].'&group_id='.$vo['id'])}"><i class="icon iconfont icon-fangwen"></i>访问授权</a>
			  <a class="btn blue" href=""><i class="icon iconfont icon-fenlei"></i>分类授权</a>
			  <a class="btn blue" href=""><i class="icon iconfont icon-chengyuan"></i>成员授权</a>
			  </td>
			</tr>
			{/volist}
			</tbody>
			</table>
		</div>
	</div>
</div>
{/block}
